package com.JackTang.web;

import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

/**
 * @author Jack Tang
 * @description
 * @create 2023-03-17 21:49
 */
@WebServlet("/demo5")
public class ServletDemo5 extends MyHttpServlet {

    @Override
    protected void doGet(ServletRequest req, ServletResponse res) {
        System.out.println("get......");
    }

    @Override
    protected void doPost(ServletRequest req, ServletResponse res) {
        System.out.println("Post......");
    }
}